<!DOCTYPE html>

<html>
    <head>
        <meta name="charset" content="utf-8" />
        <title>CMS Module</title>
        
        <!-- Load Javascripts -->
        <?=$_scripts?>
        
        <!-- Load CSS -->
        <link type="text/css" href="<?=base_url('../public/resources/css/cms.css')?>" rel="stylesheet" />
        <?=$_styles?>
    </head>
    <body>
        <div id="container">
            
            <div id="header"><h1>{app_name}</h1> 
                <span style="float: right; font-style: italic;">Page rendered in <b>{page_rendered}</b> seconds</span></div>
            
            <div id="nav">
                <ul>
                    <li><a href="<?=base_url()?>">Home</a></li>
                    <li><a href="<?=base_url('pages')?>">Pages</a></li>
                </ul>
            </div>
            
            <div id="content"><?=$content?></div>
        </div>
    </body>
</html>